     (.getScreenSize default-toolkit)))
 
 #+clj
-(def ^{:private true} orig-screen-width
-  (let [screen (current-screen)]
-    (.width screen)))
-
-#+clj
 (defn
   ^{:requires-bindings false
     :processing-name "displayWidth"

  screen-width
  "Returns the width of the main screen in pixels."
  []
  orig-screen-width)

#+clj
(def ^{:private true} orig-screen-height
  (let [screen (current-screen)]
    (.height screen)))

#+clj
(defn

  screen-height
  "Returns the height of the main screen in pixels."
  []
  (.height (current-screen)))

(defn
  ^{:requires-bindings true
