Fixed jumping bug and magic number usage for platform height