Fixed #1708: add a render mode checking to 3D action class.

1. add a render mode checking to 3D action class.
2. fixed a bug of cc.TableView that cc.Rect.origin has been delete.