fixed small bug at the layers button