Fixed the test condition on time
[#378] use the size given by Tiled as the reference size for the entity/shape

This will make it more correct when designing object in Tiled using
PolyShape/Rectange/etc…
Updated the platformed example to take in account the previous commit