fix frame position