Updated selection box rendering to use modern OpenGL