bugfix and point sprites