Small bug in GLPlugin