when resize window change _size and before draw glViewport set to _size
using shader in preDraw
remove duplicate import
add depth components, fix image loading