Fix sin-cos movement