Block spawn bug fix