fix for player direction change not linking with image