Can you modify the following live example to demonstrate your issue? It seems your posted code looks correct so there might be an issue elsewhere.
The values of the near
and far
plane are unrelated to this issue. According to your screenshot, it just seems the models are not transformed correctly.