solved flickering position problems