fixed the "bug" with crystal rendering