Drawing outlined layers properly into buttons.