have you set: pos_x = 0; pos_y = 0; ?
what is not working, position or scaling?