Fixed some bug with the unlockScene method