Fixed bug where initializing a player (Using the play function) would never return.
Also added a way to use different primitiveTypes when using a custom mesh.