Revised layer painting
Fixed sensitive hover bug