Fixed bug with missing css when instantiated