fixed hard orientation bug in getPosFor