Fixed problem with glass