Fixed problem with pointer-events declarations