Closes #1107: Do not create box shapes unless the box collision flag is enabled