Fixed the shield and magic 's location when pressing buttons.