Fixes screenshots not displaying correctly.