Fixed tile entities not being placed in the correct array