Moved painting to transforms, removed inner box shadow for performance reasons