Fixed bug where player can destroy platforms